﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeManDesktopBlazor.BlazorComponents.Models
{
    /// <summary>
    /// 用于与js映射
    /// </summary>
    public class MainJs
    {
        /// <summary>
        /// 布局main高
        /// </summary>
        public double height { get; set; }
        /// <summary>
        /// 布局main
        /// </summary>
        public double width { get; set; }
        public int widthInt { get { return (int)Math.Truncate(width); } }
        public int heightInt { get { return (int)Math.Truncate(height); } }
    }
}
